package com.dream.technology.db.entity;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class RcFlowItemQuery {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public RcFlowItemQuery() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Long value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Long value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Long value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Long value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Long value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Long value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Long> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Long> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Long value1, Long value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Long value1, Long value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andFlowIdIsNull() {
            addCriterion("flow_id is null");
            return (Criteria) this;
        }

        public Criteria andFlowIdIsNotNull() {
            addCriterion("flow_id is not null");
            return (Criteria) this;
        }

        public Criteria andFlowIdEqualTo(Long value) {
            addCriterion("flow_id =", value, "flowId");
            return (Criteria) this;
        }

        public Criteria andFlowIdNotEqualTo(Long value) {
            addCriterion("flow_id <>", value, "flowId");
            return (Criteria) this;
        }

        public Criteria andFlowIdGreaterThan(Long value) {
            addCriterion("flow_id >", value, "flowId");
            return (Criteria) this;
        }

        public Criteria andFlowIdGreaterThanOrEqualTo(Long value) {
            addCriterion("flow_id >=", value, "flowId");
            return (Criteria) this;
        }

        public Criteria andFlowIdLessThan(Long value) {
            addCriterion("flow_id <", value, "flowId");
            return (Criteria) this;
        }

        public Criteria andFlowIdLessThanOrEqualTo(Long value) {
            addCriterion("flow_id <=", value, "flowId");
            return (Criteria) this;
        }

        public Criteria andFlowIdIn(List<Long> values) {
            addCriterion("flow_id in", values, "flowId");
            return (Criteria) this;
        }

        public Criteria andFlowIdNotIn(List<Long> values) {
            addCriterion("flow_id not in", values, "flowId");
            return (Criteria) this;
        }

        public Criteria andFlowIdBetween(Long value1, Long value2) {
            addCriterion("flow_id between", value1, value2, "flowId");
            return (Criteria) this;
        }

        public Criteria andFlowIdNotBetween(Long value1, Long value2) {
            addCriterion("flow_id not between", value1, value2, "flowId");
            return (Criteria) this;
        }

        public Criteria andChildItemIdIsNull() {
            addCriterion("child_item_id is null");
            return (Criteria) this;
        }

        public Criteria andChildItemIdIsNotNull() {
            addCriterion("child_item_id is not null");
            return (Criteria) this;
        }

        public Criteria andChildItemIdEqualTo(Long value) {
            addCriterion("child_item_id =", value, "childItemId");
            return (Criteria) this;
        }

        public Criteria andChildItemIdNotEqualTo(Long value) {
            addCriterion("child_item_id <>", value, "childItemId");
            return (Criteria) this;
        }

        public Criteria andChildItemIdGreaterThan(Long value) {
            addCriterion("child_item_id >", value, "childItemId");
            return (Criteria) this;
        }

        public Criteria andChildItemIdGreaterThanOrEqualTo(Long value) {
            addCriterion("child_item_id >=", value, "childItemId");
            return (Criteria) this;
        }

        public Criteria andChildItemIdLessThan(Long value) {
            addCriterion("child_item_id <", value, "childItemId");
            return (Criteria) this;
        }

        public Criteria andChildItemIdLessThanOrEqualTo(Long value) {
            addCriterion("child_item_id <=", value, "childItemId");
            return (Criteria) this;
        }

        public Criteria andChildItemIdIn(List<Long> values) {
            addCriterion("child_item_id in", values, "childItemId");
            return (Criteria) this;
        }

        public Criteria andChildItemIdNotIn(List<Long> values) {
            addCriterion("child_item_id not in", values, "childItemId");
            return (Criteria) this;
        }

        public Criteria andChildItemIdBetween(Long value1, Long value2) {
            addCriterion("child_item_id between", value1, value2, "childItemId");
            return (Criteria) this;
        }

        public Criteria andChildItemIdNotBetween(Long value1, Long value2) {
            addCriterion("child_item_id not between", value1, value2, "childItemId");
            return (Criteria) this;
        }

        public Criteria andChildItemNameIsNull() {
            addCriterion("child_item_name is null");
            return (Criteria) this;
        }

        public Criteria andChildItemNameIsNotNull() {
            addCriterion("child_item_name is not null");
            return (Criteria) this;
        }

        public Criteria andChildItemNameEqualTo(String value) {
            addCriterion("child_item_name =", value, "childItemName");
            return (Criteria) this;
        }

        public Criteria andChildItemNameNotEqualTo(String value) {
            addCriterion("child_item_name <>", value, "childItemName");
            return (Criteria) this;
        }

        public Criteria andChildItemNameGreaterThan(String value) {
            addCriterion("child_item_name >", value, "childItemName");
            return (Criteria) this;
        }

        public Criteria andChildItemNameGreaterThanOrEqualTo(String value) {
            addCriterion("child_item_name >=", value, "childItemName");
            return (Criteria) this;
        }

        public Criteria andChildItemNameLessThan(String value) {
            addCriterion("child_item_name <", value, "childItemName");
            return (Criteria) this;
        }

        public Criteria andChildItemNameLessThanOrEqualTo(String value) {
            addCriterion("child_item_name <=", value, "childItemName");
            return (Criteria) this;
        }

        public Criteria andChildItemNameLike(String value) {
            addCriterion("child_item_name like", value, "childItemName");
            return (Criteria) this;
        }

        public Criteria andChildItemNameNotLike(String value) {
            addCriterion("child_item_name not like", value, "childItemName");
            return (Criteria) this;
        }

        public Criteria andChildItemNameIn(List<String> values) {
            addCriterion("child_item_name in", values, "childItemName");
            return (Criteria) this;
        }

        public Criteria andChildItemNameNotIn(List<String> values) {
            addCriterion("child_item_name not in", values, "childItemName");
            return (Criteria) this;
        }

        public Criteria andChildItemNameBetween(String value1, String value2) {
            addCriterion("child_item_name between", value1, value2, "childItemName");
            return (Criteria) this;
        }

        public Criteria andChildItemNameNotBetween(String value1, String value2) {
            addCriterion("child_item_name not between", value1, value2, "childItemName");
            return (Criteria) this;
        }

        public Criteria andChildItemTypeIsNull() {
            addCriterion("child_item_type is null");
            return (Criteria) this;
        }

        public Criteria andChildItemTypeIsNotNull() {
            addCriterion("child_item_type is not null");
            return (Criteria) this;
        }

        public Criteria andChildItemTypeEqualTo(Integer value) {
            addCriterion("child_item_type =", value, "childItemType");
            return (Criteria) this;
        }

        public Criteria andChildItemTypeNotEqualTo(Integer value) {
            addCriterion("child_item_type <>", value, "childItemType");
            return (Criteria) this;
        }

        public Criteria andChildItemTypeGreaterThan(Integer value) {
            addCriterion("child_item_type >", value, "childItemType");
            return (Criteria) this;
        }

        public Criteria andChildItemTypeGreaterThanOrEqualTo(Integer value) {
            addCriterion("child_item_type >=", value, "childItemType");
            return (Criteria) this;
        }

        public Criteria andChildItemTypeLessThan(Integer value) {
            addCriterion("child_item_type <", value, "childItemType");
            return (Criteria) this;
        }

        public Criteria andChildItemTypeLessThanOrEqualTo(Integer value) {
            addCriterion("child_item_type <=", value, "childItemType");
            return (Criteria) this;
        }

        public Criteria andChildItemTypeIn(List<Integer> values) {
            addCriterion("child_item_type in", values, "childItemType");
            return (Criteria) this;
        }

        public Criteria andChildItemTypeNotIn(List<Integer> values) {
            addCriterion("child_item_type not in", values, "childItemType");
            return (Criteria) this;
        }

        public Criteria andChildItemTypeBetween(Integer value1, Integer value2) {
            addCriterion("child_item_type between", value1, value2, "childItemType");
            return (Criteria) this;
        }

        public Criteria andChildItemTypeNotBetween(Integer value1, Integer value2) {
            addCriterion("child_item_type not between", value1, value2, "childItemType");
            return (Criteria) this;
        }

        public Criteria andActionIsNull() {
            addCriterion("action is null");
            return (Criteria) this;
        }

        public Criteria andActionIsNotNull() {
            addCriterion("action is not null");
            return (Criteria) this;
        }

        public Criteria andActionEqualTo(Integer value) {
            addCriterion("action =", value, "action");
            return (Criteria) this;
        }

        public Criteria andActionNotEqualTo(Integer value) {
            addCriterion("action <>", value, "action");
            return (Criteria) this;
        }

        public Criteria andActionGreaterThan(Integer value) {
            addCriterion("action >", value, "action");
            return (Criteria) this;
        }

        public Criteria andActionGreaterThanOrEqualTo(Integer value) {
            addCriterion("action >=", value, "action");
            return (Criteria) this;
        }

        public Criteria andActionLessThan(Integer value) {
            addCriterion("action <", value, "action");
            return (Criteria) this;
        }

        public Criteria andActionLessThanOrEqualTo(Integer value) {
            addCriterion("action <=", value, "action");
            return (Criteria) this;
        }

        public Criteria andActionIn(List<Integer> values) {
            addCriterion("action in", values, "action");
            return (Criteria) this;
        }

        public Criteria andActionNotIn(List<Integer> values) {
            addCriterion("action not in", values, "action");
            return (Criteria) this;
        }

        public Criteria andActionBetween(Integer value1, Integer value2) {
            addCriterion("action between", value1, value2, "action");
            return (Criteria) this;
        }

        public Criteria andActionNotBetween(Integer value1, Integer value2) {
            addCriterion("action not between", value1, value2, "action");
            return (Criteria) this;
        }

        public Criteria andCreateDateIsNull() {
            addCriterion("create_date is null");
            return (Criteria) this;
        }

        public Criteria andCreateDateIsNotNull() {
            addCriterion("create_date is not null");
            return (Criteria) this;
        }

        public Criteria andCreateDateEqualTo(Date value) {
            addCriterion("create_date =", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateNotEqualTo(Date value) {
            addCriterion("create_date <>", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateGreaterThan(Date value) {
            addCriterion("create_date >", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateGreaterThanOrEqualTo(Date value) {
            addCriterion("create_date >=", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateLessThan(Date value) {
            addCriterion("create_date <", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateLessThanOrEqualTo(Date value) {
            addCriterion("create_date <=", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateIn(List<Date> values) {
            addCriterion("create_date in", values, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateNotIn(List<Date> values) {
            addCriterion("create_date not in", values, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateBetween(Date value1, Date value2) {
            addCriterion("create_date between", value1, value2, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateNotBetween(Date value1, Date value2) {
            addCriterion("create_date not between", value1, value2, "createDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateIsNull() {
            addCriterion("update_date is null");
            return (Criteria) this;
        }

        public Criteria andUpdateDateIsNotNull() {
            addCriterion("update_date is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateDateEqualTo(Date value) {
            addCriterion("update_date =", value, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateNotEqualTo(Date value) {
            addCriterion("update_date <>", value, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateGreaterThan(Date value) {
            addCriterion("update_date >", value, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateGreaterThanOrEqualTo(Date value) {
            addCriterion("update_date >=", value, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateLessThan(Date value) {
            addCriterion("update_date <", value, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateLessThanOrEqualTo(Date value) {
            addCriterion("update_date <=", value, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateIn(List<Date> values) {
            addCriterion("update_date in", values, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateNotIn(List<Date> values) {
            addCriterion("update_date not in", values, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateBetween(Date value1, Date value2) {
            addCriterion("update_date between", value1, value2, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateNotBetween(Date value1, Date value2) {
            addCriterion("update_date not between", value1, value2, "updateDate");
            return (Criteria) this;
        }

        public Criteria andItemAliasIsNull() {
            addCriterion("flow_item_alias is null");
            return (Criteria) this;
        }

        public Criteria andItemAliasIsNotNull() {
            addCriterion("flow_item_alias is not null");
            return (Criteria) this;
        }

        public Criteria andItemAliasEqualTo(String value) {
            addCriterion("flow_item_alias =", value, "itemAlias");
            return (Criteria) this;
        }

        public Criteria andItemAliasNotEqualTo(String value) {
            addCriterion("flow_item_alias <>", value, "itemAlias");
            return (Criteria) this;
        }

        public Criteria andItemAliasGreaterThan(String value) {
            addCriterion("flow_item_alias >", value, "itemAlias");
            return (Criteria) this;
        }

        public Criteria andItemAliasGreaterThanOrEqualTo(String value) {
            addCriterion("flow_item_alias >=", value, "itemAlias");
            return (Criteria) this;
        }

        public Criteria andItemAliasLessThan(String value) {
            addCriterion("flow_item_alias <", value, "itemAlias");
            return (Criteria) this;
        }

        public Criteria andItemAliasLessThanOrEqualTo(String value) {
            addCriterion("flow_item_alias <=", value, "itemAlias");
            return (Criteria) this;
        }

        public Criteria andItemAliasLike(String value) {
            addCriterion("flow_item_alias like", value, "itemAlias");
            return (Criteria) this;
        }

        public Criteria andItemAliasNotLike(String value) {
            addCriterion("flow_item_alias not like", value, "itemAlias");
            return (Criteria) this;
        }

        public Criteria andItemAliasIn(List<String> values) {
            addCriterion("flow_item_alias in", values, "itemAlias");
            return (Criteria) this;
        }

        public Criteria andItemAliasNotIn(List<String> values) {
            addCriterion("flow_item_alias not in", values, "itemAlias");
            return (Criteria) this;
        }

        public Criteria andItemAliasBetween(String value1, String value2) {
            addCriterion("flow_item_alias between", value1, value2, "itemAlias");
            return (Criteria) this;
        }

        public Criteria andItemAliasNotBetween(String value1, String value2) {
            addCriterion("flow_item_alias not between", value1, value2, "itemAlias");
            return (Criteria) this;
        }

        public Criteria andStatusIsNull() {
            addCriterion("status is null");
            return (Criteria) this;
        }

        public Criteria andStatusIsNotNull() {
            addCriterion("status is not null");
            return (Criteria) this;
        }

        public Criteria andStatusEqualTo(Boolean value) {
            addCriterion("status =", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotEqualTo(Boolean value) {
            addCriterion("status <>", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThan(Boolean value) {
            addCriterion("status >", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThanOrEqualTo(Boolean value) {
            addCriterion("status >=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThan(Boolean value) {
            addCriterion("status <", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThanOrEqualTo(Boolean value) {
            addCriterion("status <=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusIn(List<Boolean> values) {
            addCriterion("status in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotIn(List<Boolean> values) {
            addCriterion("status not in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusBetween(Boolean value1, Boolean value2) {
            addCriterion("status between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotBetween(Boolean value1, Boolean value2) {
            addCriterion("status not between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andEnabledIsNull() {
            addCriterion("enabled is null");
            return (Criteria) this;
        }

        public Criteria andEnabledIsNotNull() {
            addCriterion("enabled is not null");
            return (Criteria) this;
        }

        public Criteria andEnabledEqualTo(Boolean value) {
            addCriterion("enabled =", value, "enabled");
            return (Criteria) this;
        }

        public Criteria andEnabledNotEqualTo(Boolean value) {
            addCriterion("enabled <>", value, "enabled");
            return (Criteria) this;
        }

        public Criteria andEnabledGreaterThan(Boolean value) {
            addCriterion("enabled >", value, "enabled");
            return (Criteria) this;
        }

        public Criteria andEnabledGreaterThanOrEqualTo(Boolean value) {
            addCriterion("enabled >=", value, "enabled");
            return (Criteria) this;
        }

        public Criteria andEnabledLessThan(Boolean value) {
            addCriterion("enabled <", value, "enabled");
            return (Criteria) this;
        }

        public Criteria andEnabledLessThanOrEqualTo(Boolean value) {
            addCriterion("enabled <=", value, "enabled");
            return (Criteria) this;
        }

        public Criteria andEnabledIn(List<Boolean> values) {
            addCriterion("enabled in", values, "enabled");
            return (Criteria) this;
        }

        public Criteria andEnabledNotIn(List<Boolean> values) {
            addCriterion("enabled not in", values, "enabled");
            return (Criteria) this;
        }

        public Criteria andEnabledBetween(Boolean value1, Boolean value2) {
            addCriterion("enabled between", value1, value2, "enabled");
            return (Criteria) this;
        }

        public Criteria andEnabledNotBetween(Boolean value1, Boolean value2) {
            addCriterion("enabled not between", value1, value2, "enabled");
            return (Criteria) this;
        }

        public Criteria andStrategyIsNull() {
            addCriterion("strategy is null");
            return (Criteria) this;
        }

        public Criteria andStrategyIsNotNull() {
            addCriterion("strategy is not null");
            return (Criteria) this;
        }

        public Criteria andStrategyEqualTo(Integer value) {
            addCriterion("strategy =", value, "strategy");
            return (Criteria) this;
        }

        public Criteria andStrategyNotEqualTo(Integer value) {
            addCriterion("strategy <>", value, "strategy");
            return (Criteria) this;
        }

        public Criteria andStrategyGreaterThan(Integer value) {
            addCriterion("strategy >", value, "strategy");
            return (Criteria) this;
        }

        public Criteria andStrategyGreaterThanOrEqualTo(Integer value) {
            addCriterion("strategy >=", value, "strategy");
            return (Criteria) this;
        }

        public Criteria andStrategyLessThan(Integer value) {
            addCriterion("strategy <", value, "strategy");
            return (Criteria) this;
        }

        public Criteria andStrategyLessThanOrEqualTo(Integer value) {
            addCriterion("strategy <=", value, "strategy");
            return (Criteria) this;
        }

        public Criteria andStrategyIn(List<Integer> values) {
            addCriterion("strategy in", values, "strategy");
            return (Criteria) this;
        }

        public Criteria andStrategyNotIn(List<Integer> values) {
            addCriterion("strategy not in", values, "strategy");
            return (Criteria) this;
        }

        public Criteria andStrategyBetween(Integer value1, Integer value2) {
            addCriterion("strategy between", value1, value2, "strategy");
            return (Criteria) this;
        }

        public Criteria andStrategyNotBetween(Integer value1, Integer value2) {
            addCriterion("strategy not between", value1, value2, "strategy");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}